[##include file="common/header.tpl.php" page_title='三国夫人_闯关中'##]
[##include file="common/nav.tpl.php"##]
<a href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=huang_list&amp;sid=[##$skey##]">&lt;&lt;返回揭皇榜任务</a>

<p>
用户名:[##$info.name##] 生命值:[##$data.hp']##] 武力值:[##$data['ap##] 坐标:([##$data.x##],[##$data.y##]) 
<br  />带领武将:[##if empty($possess_list)##](暂无)[##else##]
[##foreach from=$possess_list item=item##]
[##$item.name##] 
[##/foreach##]
[##/if##]
<br  />
解救对象:[##$belle.name##] 地图名称:[##$list.name##]
<br />
[##if $state == 2##]
    抱歉你的任务时间已到,
    <anchor>任务失败
        <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=end_state&amp;sid=[##$skey##]" method="post">
        <postfield name="back_url" value="[##$REQUEST_URI##]"/>
        </go>
    </anchor>
[##else##]
    [##if $list.map'][$data['x']][$data['y']]['map == 4##]
    恭喜你,历经千辛万苦,找了三国美女([##$belle.name##]),去宣武门领取奖励吧!
    <anchor>前往宣武门
        <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=mapway&amp;sid=[##$skey##]" method="post">
        <postfield name="back_url" value="[##$REQUEST_URI##]"/>
        </go>
    </anchor>
    [##elseif $list.map'][$data['x']][$data['y']]['map == 5##]
        [##if empty($general)##]
        无此武将信息！
        [##elseif $state == 0##]
    		[##if empty($data.general'][$data['x']][$data['y']]['rand)##]
        发现武将([##$general.name##] 武 [##$general.ap##]/命 [##$general.hp##]),
                [##if $data.general'][$data['x']][$data['y']]['state == 1##]
                    <anchor>攻击
                    <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=attack_general&amp;sid=[##$skey##]" method="post">
                    <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                    </go>
                    </anchor>
                [##else##]
                    已身亡
                [##/if##]
    		[##else##]
                [##if $data.general'][$data['x']][$data['y']]['rand == 1##]
                    ([##$general.name##] 武 [##$general.ap##]/命 [##$general.hp##])被你的勇猛所折服,愿跟随你,
                    <anchor>同意
                        <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=collect&amp;sid=[##$skey##]" method="post">
                        <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                        </go>
                    </anchor>
                [##elseif $data.general'][$data['x']][$data['y']]['rand == 3##]
                    恭喜你,你收降了([##$general.name##] 武 [##$general.ap##]/命 [##$general.hp##]),
                    <anchor>查看武将
                        <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=general_initial&amp;sid=[##$skey##]" method="post">
                        <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                        </go>
                    </anchor>
                [##/if##]
     		[##/if##]
     	[##if !empty($data.general'][$data['x']][$data['y']]['handle)##]
     		[##if $data.general'][$data['x']][$data['y']]['handle == 1##]
                 <anchor>查看详细
                  <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=hide&amp;sid=[##$skey##]" method="post">
                  <postfield name="state" value="2"/>
                  <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                  </go>
                 </anchor>
             [##else##]
                    <anchor>隐藏详细
                  <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=hide&amp;sid=[##$skey##]" method="post">
                  <postfield name="state" value="1"/>
                  <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                  </go>
                 </anchor>
             	<br />
                [##if !empty($attack)##]
                	[##foreach from=$attack item=item##]
                    	[##section name=list loop=$item.studio##]
                        	[##if !empty($item.studio)##]
                            [回合[##$smarty.section.list.index_next##]]
                                [##if empty($item.name.name)##]
                                    [##$info.name##]
                                [##else##]
                                    你的武将([##$item.name.name##])
                                [##/if##]	
                            	使用一招
                                [##if $item.studio[list] == -1##]
                                    基础攻击
                                [##else##]
                                    [##$studio[$item.studio'][list]]['name##]
                                [##/if##]
                            	[##$general.name##]减少[##$item.studio_ap[list]##]生命值<br  />
                             [##/if##]
                          [##if !empty($item.is_studio[list])##]  
                            	[##$general.name##]反击一招[##$studio[$item.is_studio'][list]]['name##]
                                [##if $item.is_studio_ap[list] > 300##]
                                    (真)
                                [##else##]
                                    (伪)
                                [##/if##],
                                [##if empty($item.name.name)##]
                                    [##$info.name##]
                                [##else##]
                                    你的武将([##$item.name.name##])
                                [##/if##]	
                            减少[##$item.is_studio_ap[list]##]生命值
                            <br  />
                            [##else##]
                        		[##$general.name##]已被打败
                    		[##/if##]
                    	[##/section##]
                        [##if $item.state == 1##]
                        	[##if $item.is_hp >= 0##]
                               [##if  empty($item.name.name)##]
                                  [##$info.name##]
                               [##else##]
                                  你的武将([##$item.name.name##])
                               [##/if##]
                               被打败<br  />
                            [##/if##]
                       [##/if##]
                    [##/foreach##]
             [##/if##]
           [##/if##]
           [##/if##]
     [##/if##]
    [##else##]
    [##$list.map'][$data['x']][$data['y']]['content##]
    <br />
        [##if !empty($data.function'][$data['x']][$data['y']]['state)##]
        	[##if $data.function'][$data['x']][$data['y']]['map_scene == 1##]
            	身陷毒瘴,生命值:-[##$data.function'][$data['x']][$data['y']]['function##]
            [##/if##]
            [##if $data.function'][$data['x']][$data['y']]['map_scene == 3##]
                中了机关,生命值:-[##$data.function'][$data['x']][$data['y']]['function##]
            [##/if##]
            [##if $data.function'][$data['x']][$data['y']]['map_scene'] == 2 and $data['function'][$data['x']][$data['y']]['state == 1##]
                发现（一个宝箱）,
                <anchor>打开
                <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=treasure&amp;sid=[##$skey##]" method="post">
                <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                </go>
                </anchor>
            [##elseif $data.function'][$data['x']][$data['y']]['map_scene'] == 2 and  $data['function'][$data['x']][$data['y']]['state == 2##]
                打开宝箱发现
                [##if $data.function'][$data['x']][$data['y']]['map_function == 1##]
                ([##if $data.function'][$data['x']][$data['y']]['function'] <= 30##]发霉小还丹[##elseif $data['function'][$data['x']][$data['y']]['function >= 30##]小还丹[##/if##]),捡起一口吞掉,生命值：
                [##elseif $data.function'][$data['x']][$data['y']]['map_function == 2##]
                (一些筹码),筹码：
                [##elseif $data.function'][$data['x']][$data['y']]['map_function == 3##]
                (一件陈旧道具),道具：
                [##/if##]
               [##$data.function'][$data['x']][$data['y']]['function##],已打开
            [##/if##]
            [##if $state == 3##]
            <br  />
              很遗憾你的生命值为零,
              <anchor>任务失败
                 <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=end_state&amp;sid=[##$skey##]" method="post">
                 <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                 </go>
            </anchor>
            [##/if##]
        [##/if##]
    [##/if##]
    
        <br />
        [##if $list.map'][$data['x']][$data['y']]['map'] != 4 and empty($data['general'][$data['x']][$data['y']]['state) and $state != 3##]
        [##if empty($list.map'][$data['x']][$diection['up_y']]['map'])  || $list['map'][$data['x']][$diection['up_y']]['map == 1##]
        [##else##]北：
        <anchor>进入
            <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=start_mixelworlds&amp;sid=[##$skey##]" method="post">
            <postfield name="diection" value="up_y"/>
            <postfield name="back_url" value="[##$REQUEST_URI##]"/>
            </go>
        </anchor>
        <br />
        [##/if##]
        [##if empty($list.map'][$data['x']][$diection['down_y']]['map']) || $list['map'][$data['x']][$diection['down_y']]['map == 1##]
        [##else##]南：
        <anchor>进入
            <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=start_mixelworlds&amp;sid=[##$skey##]" method="post">
            <postfield name="diection" value="down_y"/>
            <postfield name="back_url" value="[##$REQUEST_URI##]"/>
            </go>
        </anchor>
        <br />
        [##/if##]
        
        [##if empty($list.map'][$diection['left_x']][$data['y']]['map'])  || $list['map'][$diection['left_x']][$data['y']]['map == 1##]
        [##else##]西：
        <anchor>进入
            <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=start_mixelworlds&amp;sid=[##$skey##]" method="post">
            <postfield name="diection" value="left_x"/>
            <postfield name="back_url" value="[##$REQUEST_URI##]"/>
            </go>
        </anchor>
        <br />
        [##/if##]
        
        [##if empty($list.map'][$diection['right_x']][$data['y']]['map'])  || $list['map'][$diection['right_x']][$data['y']]['map == 1##]
        [##else##]东：
        <anchor>进入
            <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=start_mixelworlds&amp;sid=[##$skey##]" method="post">
            <postfield name="diection" value="right_x"/>
            <postfield name="back_url" value="[##$REQUEST_URI##]"/>
            </go>
        </anchor>
        [##/if##]
    [##elseif !empty($data.general'][$data['x']][$data['y']]['state)##]
        [##if $state == 3##]
            你已被武将([##$general.name##])打败,
             <anchor>任务失败
                <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=end_state&amp;sid=[##$skey##]" method="post">
                <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                </go>
            </anchor>
           [##if !empty($data.general'][$data['x']][$data['y']]['handle)##]
     		[##if $data.general'][$data['x']][$data['y']]['handle == 1##]
                 <anchor>查看详细
                  <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=hide&amp;sid=[##$skey##]" method="post">
                  <postfield name="state" value="2"/>
                  <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                  </go>
                 </anchor>
             [##else##]
                    <anchor>隐藏详细
                  <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=hide&amp;sid=[##$skey##]" method="post">
                  <postfield name="state" value="1"/>
                  <postfield name="back_url" value="[##$REQUEST_URI##]"/>
                  </go>
                 </anchor>
             	<br />
                [##if !empty($attack)##]
                	[##foreach from=$attack item=item##]
                    	[##section name=list loop=$item.studio##]
                        	[##if !empty($item.studio)##]
                            [回合[##$smarty.section.list.index_next##]]
                                [##if empty($item.name.name)##]
                                    [##$info.name##]
                                [##else##]
                                    你的武将([##$item.name.name##])
                                [##/if##]	
                            	使用一招
                                [##if $item.studio[list] == -1##]
                                    基础攻击
                                [##else##]
                                    [##$studio[$item.studio'][list]]['name##]
                                [##/if##]
                            	[##$general.name##]减少[##$item.studio_ap[list]##]生命值<br  />
                             [##/if##]
                          	[##if !empty($item.is_studio[list])##]  
                            	[##$general.name##]反击一招[##$studio[$item.is_studio'][list]]['name##]
                                [##if $item.is_studio_ap[list] > 300##]
                                    (真)
                                [##else##]
                                    (伪)
                                [##/if##],
                                [##if empty($item.name.name)##]
                                    [##$info.name##]
                                [##else##]
                                    你的武将([##$item.name.name##])
                                [##/if##]	
                            		减少[##$item.is_studio_ap[list]##]生命值
                            		<br  />
                            [##else##]
                        		[##$general.name##]已被打败
                    		[##/if##]
                    	[##/section##]
                        [##if $item.state == 1##]
                        	[##if $item.is_hp >= 0##]
                               [##if  empty($item.name.name)##]
                                  [##$info.name##]
                               [##else##]
                                  你的武将([##$item.name.name##])
                               [##/if##]
                               被打败<br  />
                            [##/if##]
                       [##/if##]
                    [##/foreach##]
             [##/if##]
           [##/if##]
           [##/if##]
        [##/if##]
    [##/if##]
[##/if##]
</p>

        <anchor>放弃任务
              <go href="[##$siteurl##]/app.php?m=kingdomslady&amp;a=end_state&amp;sid=[##$skey##]" method="post">
              <postfield name="back_url" value="[##$REQUEST_URI##]"/>
              </go>
             </anchor>
             <br  />
 [##include file="app/kingdoms_lady/list.tpl.php"##]
[##include file="common/footer_nav.tpl.php"##]
[##include file="common/footer.tpl.php"##]